<template>
  <div class="news">

    <div>
      <img src="../assets/img/new_index.jpg"/>
    </div>

    <div style="margin-left: 100px;margin-top: 50px">
      <div class="service_title">新闻咨讯</div>
      <div style="border-bottom: 1px solid #ccc;width: 1200px;"></div>

      <div class="news_item" v-for="item in news">
        <div class="news_item_title">
          <div style="float: left">
            <router-link to="/new/detail">
              {{item.title}}
            </router-link>
          </div>
          <div style="float: right">
            <a href="javascript:void (0)">
              {{item.data}}
            </a>
          </div>
        </div>
        <div class="news_item_detail">
          <p>
            {{item.detail}}
          </p>
        </div>

      </div>

      <!--<router-view></router-view>-->

    </div>




  </div>
</template>
<script>
  export default {
    name: 'new',
    data () {
      return {
        news: [
          {
            title: '车贷申请必须提供担保吗？',
            data: '2017-06-12',
            detail: '近日有新闻报道说，长春市民王先生在2014年9月购买了一台东风菱智M5汽车，在办理贷款时要求提供担保，于是在一家汽...'
          }
        ]
      }
    }
  }
</script>
<style lang="scss" scoped>
  .service_title{
    font-size: 18px;
    border-bottom: 4px solid #009fe9;
    width: 100px;
    height:60px;
    line-height: 60px;
    text-align: center;
  }
  .news{
    width: 1200px;
    height: auto;
    margin-bottom: 50px;
    .news_item{
      margin-top: 50px;
      .news_item_title{
        width: 1200px;
        height: 25px;
        line-height: 25px;
        a{
          text-decoration: none;
          color: #444;
          font-size: 16px;
          &:hover{
            color: #009fe9;
          }
        }
      }
      .news_item_detail{
        width: 900px;
        height: 25px;
        line-height: 25px;
        color: #999;
        font-size: 14px;
      }
    }
  }




</style>
